negotiator.boaframework.acceptanceconditions.other
Class AC_CombiAvg
java.lang.Object
negotiator.boaframework.AcceptanceStrategy
negotiator.boaframework.acceptanceconditions.other.AC_CombiAvg
public class AC_CombiAvg
- extends AcceptanceStrategy
This is the decoupled Acceptance Conditions Based on Tim Baarslag's paper on Acceptance Conditions:
"Acceptance Conditions in Automated Negotiation"
This Acceptance Condition averages the opponents bids made in the previous time window.
If the bid is higher than the average it will accept
Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker
- Author:
- Alex Dirkzwager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AC_CombiAvg
public AC_CombiAvg()
- Empty constructor for the BOA framework.
AC_CombiAvg
public AC_CombiAvg(NegotiationSession negoSession,
OfferingStrategy strat,
double t)
init
public void init(NegotiationSession negoSession,
OfferingStrategy strat,
OpponentModel opponentModel,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
- Description copied from class:
AcceptanceStrategy
- Standard initialize method to be called after using the empty constructor.
Most of the time this method should be overridden for usage by the decoupled
framework.
- Overrides:
init in class AcceptanceStrategy
- Parameters:
negoSession - state of the negotiation.strat - of the agent.parameters - of the acceptance strategy.
- Throws:
java.lang.Exception - thrown when initializing the acceptance strategy fails.
printParameters
public java.lang.String printParameters()
- Overrides:
printParameters in class AcceptanceStrategy
- Returns:
- string representation of the parameters supplied to the model.
determineAcceptability
public Actions determineAcceptability()
- Description copied from class:
AcceptanceStrategy
- Determines to either to either accept or reject the opponent's bid
or even quit the negotiation.
- Specified by:
determineAcceptability in class AcceptanceStrategy
- Returns:
- one of three possible actions: Actions.Accept, Actions.Reject, Actions.Break.